import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import {CommonModule} from '@angular/common';
import {FormsModule} from '@angular/forms';
import {AppRoutingModule} from './routing/app-routing.module';
import {ModulesModule} from './module/modules.module';
import {MdIconRegistry} from '@angular/material';
import {CacheService} from 'app/shared/service/cache.service';
import {LoggerService} from './shared/service/logger.service';
import {DicsService} from './shared/service/dics.service';
import {CurrUserService} from './shared/service/curr-user.service';
import {AppService} from './shared/service/app.service';
import {MdDialogService} from './shared/service/mdDialog.service';
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    BrowserAnimationsModule,
    CommonModule,
    FormsModule,
    AppRoutingModule,
    ModulesModule
  ],
  providers: [
    MdIconRegistry,
    CacheService,
    LoggerService,
    DicsService,
    AppService,
    CurrUserService,
    MdDialogService,
  ],
  bootstrap: [AppComponent]
})
export class AppModule { }
